package com.cawis.feign;

import com.cawis.common.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("flashquery-service")
public interface MyFeignClient {

    @GetMapping("flashList")
    R flashList(@RequestParam String startTime, @RequestParam String endTime, @RequestParam Integer current, @RequestParam Integer pageSize);

    @GetMapping("dataList")
    R dataList(@RequestParam String lineName, @RequestParam Integer lineId);

}
